package org.swinglife.log.sys;

import org.swinglife.log.sys.appender.SLConsoleAndFileAndRedisLogAppender;


public class SwingLifeConsoleAndPrintFileAndSaveRedisLog extends SLConsoleAndFileAndRedisLogAppender implements SLSystemLog {

    private String savePath = "/opt/log";

    private String logFileName = "";

    public SwingLifeConsoleAndPrintFileAndSaveRedisLog(String savePath){
        this.savePath = savePath;
    }


    public SwingLifeConsoleAndPrintFileAndSaveRedisLog(String savePath,String logFileName){
        this.savePath = savePath;
        this.logFileName = logFileName;
    }

    @Override
    public void message(String message) {
        //这里可以做一些乱七八糟的操作
    }

    @Override
    public void debug(String debug) {

    }

    @Override
    public void error(String error) {

    }

    @Override
    public void error(String error, Exception e) {

    }
}
